<template>
    <div>
        <van-nav-bar title="搜索" left-text="返回" left-arrow @click-left="onClickLeft" />
            <van-search v-model="value" placeholder="请输入搜索关键词" />
        <van-empty description="描述文字" />
    </div>
</template>

<script setup>
import { ref } from 'vue';
import {qsearchApi}  from '@/api/api'
let qsearch=ref([])
qsearchApi().then(res=>{
    console.log('搜索数据',res);
    qsearch.value=res.data.message
})
</script>
 
<style lang="scss" scoped></style>